<!doctype html>



  


<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />












  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.0" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="心灵鸡汤," />








  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.1.0" />






<meta name="description" content="早上起来，她发现家里停电了。于是没办法用热水洗漱，用电吹风吹头发，不能热牛奶，烤面包，只好草草打理一下就出门刚走进电梯，邻居家养的小狗一下子冲进来扑住，上周刚买的米白长裙上顿时出现两只黑黑的爪印儿。">
<meta name="keywords" content="心灵鸡汤">
<meta property="og:type" content="article">
<meta property="og:title" content="一切都是最好的安排">
<meta property="og:url" content="http://yoursite.com/2016/11/28/一切都是最好的安排/index.html">
<meta property="og:site_name" content="JokerLiang">
<meta property="og:description" content="早上起来，她发现家里停电了。于是没办法用热水洗漱，用电吹风吹头发，不能热牛奶，烤面包，只好草草打理一下就出门刚走进电梯，邻居家养的小狗一下子冲进来扑住，上周刚买的米白长裙上顿时出现两只黑黑的爪印儿。">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2016-11-29T08:18:49.710Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="一切都是最好的安排">
<meta name="twitter:description" content="早上起来，她发现家里停电了。于是没办法用热水洗漱，用电吹风吹头发，不能热牛奶，烤面包，只好草草打理一下就出门刚走进电梯，邻居家养的小狗一下子冲进来扑住，上周刚买的米白长裙上顿时出现两只黑黑的爪印儿。">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Mist',
    sidebar: {"position":"left","display":"always"},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://yoursite.com/2016/11/28/一切都是最好的安排/"/>





  <title> 一切都是最好的安排 | JokerLiang </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  








  <div style="display: none;">
    <script src="//s95.cnzz.com/z_stat.php?id=1260895995&web_id=1260895995" language="JavaScript"></script>
  </div>





  
  
    
  

  <div class="container one-collumn sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-meta ">
  

  <div class="custom-logo-site-title">
    <a href="/"  class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <span class="site-title">JokerLiang</span>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>
  <p class="site-subtitle">永远年轻，永远热泪盈眶。</p>
</div>

<div class="site-nav-toggle">
  <button>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
  </button>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      

      
        <li class="menu-item menu-item-search">
          
            <a href="javascript:;" class="popup-trigger">
          
            
              <i class="menu-item-icon fa fa-search fa-fw"></i> <br />
            
            搜索
          </a>
        </li>
      
    </ul>
  

  
    <div class="site-search">
      
  <div class="popup">
 <span class="search-icon fa fa-search"></span>
 <input type="text" id="local-search-input">
 <div id="local-search-result"></div>
 <span class="popup-btn-close">close</span>
</div>


    </div>
  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
  <link itemprop="mainEntityOfPage" href="http://yoursite.com/2016/11/28/一切都是最好的安排/">

  <span style="display:none" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="JokerLiang">
    <meta itemprop="description" content="">
    <meta itemprop="image" content="/images/me.jpg">
  </span>

  <span style="display:none" itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="JokerLiang">
    <span style="display:none" itemprop="logo" itemscope itemtype="http://schema.org/ImageObject">
      <img style="display:none;" itemprop="url image" alt="JokerLiang" src="">
    </span>
  </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                一切都是最好的安排
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>
              <time title="Post created" itemprop="dateCreated datePublished" datetime="2016-11-28T19:35:53+08:00">
                2016-11-28
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
              <span class="post-meta-divider">|</span>
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/故事/" itemprop="url" rel="index">
                    <span itemprop="name">故事</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          

          
          

          

          

        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>&#x3000;&#x3000;&#x65E9;&#x4E0A;&#x8D77;&#x6765;&#xFF0C;&#x5979;&#x53D1;&#x73B0;&#x5BB6;&#x91CC;&#x505C;&#x7535;&#x4E86;&#x3002;&#x4E8E;&#x662F;&#x6CA1;&#x529E;&#x6CD5;&#x7528;&#x70ED;&#x6C34;&#x6D17;&#x6F31;&#xFF0C;&#x7528;&#x7535;&#x5439;&#x98CE;&#x5439;&#x5934;&#x53D1;&#xFF0C;&#x4E0D;&#x80FD;&#x70ED;&#x725B;&#x5976;&#xFF0C;&#x70E4;&#x9762;&#x5305;&#xFF0C;&#x53EA;&#x597D;&#x8349;&#x8349;&#x6253;&#x7406;&#x4E00;&#x4E0B;&#x5C31;&#x51FA;&#x95E8;&#x521A;&#x8D70;&#x8FDB;&#x7535;&#x68AF;&#xFF0C;&#x90BB;&#x5C45;&#x5BB6;&#x517B;&#x7684;&#x5C0F;&#x72D7;&#x4E00;&#x4E0B;&#x5B50;&#x51B2;&#x8FDB;&#x6765;&#x6251;&#x4F4F;&#xFF0C;&#x4E0A;&#x5468;&#x521A;&#x4E70;&#x7684;&#x7C73;&#x767D;&#x957F;&#x88D9;&#x4E0A;&#x987F;&#x65F6;&#x51FA;&#x73B0;&#x4E24;&#x53EA;&#x9ED1;&#x9ED1;&#x7684;&#x722A;&#x5370;&#x513F;&#x3002;<a id="more"></a>&#x5F00;&#x8F66;&#x88AB;&#x8B66;&#x5BDF;&#x62E6;&#xFF0C;&#x624D;&#x60F3;&#x8D77;&#x6765;&#x4ECA;&#x5929;&#x9650;&#x884C;&#xFF0C;&#x7F5A;&#x4E86;&#x4E00;&#x767E;&#x3002; &#x5230;&#x4E86;&#x516C;&#x53F8;&#xFF0C;&#x6B63;&#x597D;&#x665A;&#x4E86;&#x4E00;&#x5206;&#x949F;&#xFF0C;&#x53C8;&#x7F5A;&#x4E94;&#x5341;&#x3002;&#x51B2;&#x8FDB;&#x4F1A;&#x8BAE;&#x5BA4;&#x5F00;&#x4F8B;&#x4F1A;&#xFF0C;&#x8001;&#x677F;&#x6B63;&#x5728;&#x5BA3;&#x5E03;&#x5DE5;&#x4F5C;&#x8C03;&#x6574;&#x7684;&#x540D;&#x5355;&#x3002;&#x5979;&#x7684;&#x4E1A;&#x52A1;&#x5C45;&#x7136;&#x88AB;&#x65E0;&#x6545;&#x6682;&#x505C;&#xFF0C;&#x5979;&#x7684;&#x804C;&#x4F4D;&#x5219;&#x88AB;&#x4E00;&#x4E2A;&#x4E0D;&#x5B66;&#x65E0;&#x672F;&#xFF0C;&#x6574;&#x5929;&#x5C31;&#x77E5;&#x9053;&#x5F00;&#x8C6A;&#x8F66;&#x3001;&#x597D;&#x5403;&#x61D2;&#x505A;&#x7684;&#x5BB6;&#x4F19;&#x6240;&#x53D6;&#x4EE3;&#x5348;&#x9910;&#x65F6;&#x95F4;&#xFF0C;&#x6240;&#x6709;&#x4EBA;&#x90FD;&#x95F9;&#x7740;&#x8981;&#x65B0;&#x4EFB;&#x4E3B;&#x7BA1;&#x8BF7;&#x5BA2;&#xFF0C;&#x4E00;&#x7A9D;&#x8702;&#x7B11;&#x95F9;&#x7740;&#x51FA;&#x4E86;&#x95E8;&#xFF0C;&#x6CA1;&#x6709;&#x4EBA;&#x53EB;&#x5979;&#x3002;&#x5979;&#x4E00;&#x4E2A;&#x4EBA;&#x53BB;&#x4E86;&#x9910;&#x5385;&#xFF0C;&#x521A;&#x628A;&#x4E00;&#x53E3;&#x996D;&#x9001;&#x8FDB;&#x5634;&#x91CC;&#xFF0C;&#x91CD;&#x8981;&#x5BA2;&#x6237;&#x6253;&#x6765;&#x7535;&#x8BDD;&#x3002;&#x5BF9;&#x65B9;&#x53D6;&#x6D88;&#x4E86;&#x91D1;&#x989D;&#x6700;&#x5927;&#x7684;&#x4E00;&#x7B14;&#x8BA2;&#x5355;&#xFF0C;&#x5E74;&#x5E95;&#x7684;&#x5956;&#x91D1;&#x6CE1;&#x6C64;&#x4E86;&#x3002;&#x5979;&#x770B;&#x7740;&#x9762;&#x524D;&#x7684;&#x5348;&#x9910;&#xFF0C;&#x518D;&#x65E0;&#x534A;&#x5206;&#x80C3;&#x53E3;&#x3002; &#x521A;&#x56DE;&#x516C;&#x53F8;&#xFF0C;&#x7535;&#x8BDD;&#x54CD;&#x8D77;&#xFF0C;&#x5988;&#x5988;&#x5728;&#x7535;&#x8BDD;&#x90A3;&#x7AEF;&#x54FD;&#x54BD;&#xFF0C;&#x8BF4;&#x59E5;&#x59E5;&#x7684;&#x75C5;&#x53C8;&#x91CD;&#x4E86;&#xFF0C;&#x53EF;&#x80FD;&#x71AC;&#x4E0D;&#x8FC7;&#x8FD9;&#x4E2A;&#x6708;&#x4E86;&#x3002;&#x5979;&#x5B89;&#x6170;&#x7740;&#x5988;&#x5988;&#xFF0C;&#x4E1D;&#x6BEB;&#x4E0D;&#x6562;&#x63D0;&#x53CA;&#x81EA;&#x5DF1;&#x7684;&#x5DE5;&#x4F5C;&#x53D8;&#x52A8;&#xFF0C;&#x53EA;&#x8BF4;&#x4E00;&#x5B9A;&#x5C3D;&#x5FEB;&#x56DE;&#x53BB;&#x770B;&#x59E5;&#x59E5;&#x3002; &#x653E;&#x4E0B;&#x7535;&#x8BDD;&#xFF0C;&#x77ED;&#x4FE1;&#x58F0;&#x54CD;&#x8D77;&#x3002;&#x5C45;&#x7136;&#x662F;&#x6697;&#x604B;&#x4E86;&#x5341;&#x5E74;&#x7684;&#x5BF9;&#x8C61;&#x53D1;&#x6765;&#x7684;&#x6D88;&#x606F;&#xFF1A;HI&#xFF0C;&#x6211;&#x8981;&#x7ED3;&#x5A5A;&#x4E86;&#x3002;&#x9EC4;&#x660F;&#xFF0C;&#x5979;&#x7AD9;&#x5728;&#x56DE;&#x5BB6;&#x7684;&#x8DEF;&#x8FB9;&#x7B49;&#x7740;&#x6253;&#x8F66;&#xFF0C;&#x53EF;&#x6BCF;&#x4F4D;&#x53F8;&#x673A;&#x542C;&#x5230;&#x8981;&#x53BB;&#x7684;&#x5730;&#x70B9;&#x90FD;&#x62D2;&#x8F7D;&#x3002;&#x65E0;&#x5948;&#xFF0C;&#x5979;&#x8E29;&#x7740;&#x9AD8;&#x8DDF;&#x978B;&#xFF0C;&#x62CE;&#x7740;&#x6C89;&#x91CD;&#x7684;&#x7535;&#x8111;&#x5305;&#xFF0C;&#x5411;&#x5BB6;&#x7684;&#x65B9;&#x5411;&#x8D70;&#x53BB;&#x3002;&#x811A;&#x5F88;&#x5FEB;&#x78E8;&#x51FA;&#x4E86;&#x8840;&#x6CE1;&#xFF0C;&#x5B9E;&#x5728;&#x8D70;&#x4E0D;&#x52A8;&#x4E86;&#xFF0C;&#x592A;&#x75DB;&#x4E86;&#xFF0C;&#x5979;&#x8E72;&#x4E0B;&#x6765;&#x7F13;&#x7F13;&#x5730;&#x63C9;&#x7740;&#x4F24;&#x53E3;&#x3002;&#x591C;&#x8272;&#x7B3C;&#x7F69;&#xFF0C;&#x5934;&#x9876;&#x7684;&#x6708;&#x4EAE;&#x51B7;&#x51B7;&#x5730;&#x4FEF;&#x77B0;&#x7740;&#x5979;&#xFF0C;&#x4EFF;&#x4F5B;&#x65E0;&#x58F0;&#x7684;&#x63D0;&#x9192;&#xFF0C;&#x5BB6;&#x91CC;&#x8FD8;&#x662F;&#x4E00;&#x7247;&#x9ED1;&#x6697;&#x3002;&#x5979;&#x7684;&#x773C;&#x6CEA;&#x5728;&#x4E00;&#x77AC;&#x95F4;&#x593A;&#x7736;&#x800C;&#x51FA;&#x3002;&#x770B;&#x8D77;&#x6765;&#xFF0C;&#x6211;&#x4EEC;&#x7684;&#x751F;&#x6D3B;&#x5145;&#x6EE1;&#x4E86;&#x60B2;&#x4F24;&#x3002;&#x62FC;&#x5C3D;&#x5168;&#x529B;&#x7684;&#x4F1A;&#x6025;&#x8F6C;&#x76F4;&#x4E0B;&#xFF0C;&#x523B;&#x9AA8;&#x94ED;&#x5FC3;&#x7684;&#x4F1A;&#x8349;&#x8349;&#x7ED3;&#x5C40;&#xFF0C;&#x98DE;&#x86FE;&#x6251;&#x706B;&#x7684;&#x4F1A;&#x7070;&#x98DE;&#x70DF;&#x706D;&#x3002;&#x4E8E;&#x662F;&#x6211;&#x4EEC;&#x5931;&#x671B;&#x3001;&#x6CAE;&#x4E27;&#x3001;&#x56F0;&#x60D1;&#x3001;&#x6323;&#x624E;&#xFF0C;&#x751A;&#x81F3;&#x7EDD;&#x671B;&#xFF0C;&#x5BF9;&#x8FD9;&#x4E00;&#x5207;&#x4EA7;&#x751F;&#x6DF1;&#x6DF1;&#x7684;&#x4E0D;&#x4FE1;&#x4EFB;&#x611F;&#x4E0E;&#x6297;&#x62D2;&#x611F;&#x3002;&#x7EC8;&#x4E8E;&#x89C9;&#x5F97;&#x7B4B;&#x75B2;&#x529B;&#x5C3D;&#xFF0C;&#x65E0;&#x8DEF;&#x53EF;&#x8D70;&#x3002;&#x53EF;&#x662F;&#x771F;&#x7684;&#x8D70;&#x4E0D;&#x4E0B;&#x53BB;&#x4E86;&#x5417;&#xFF1F;&#x5979;&#x7AD9;&#x8D77;&#x6765;&#xFF0C;&#x7528;&#x7EA4;&#x4E4B;&#x97F5;&#x65B9;&#x5DFE;&#x64E6;&#x5E72;&#x773C;&#x6CEA;&#xFF0C;&#x6447;&#x6643;&#x7740;&#x7EE7;&#x7EED;&#x5F80;&#x524D;&#x8D70;&#x3002;&#x76F4;&#x5230;&#x4E0B;&#x4E00;&#x4E2A;&#x8DEF;&#x53E3;&#xFF0C;&#x6709;&#x4E00;&#x8F86;&#x8F66;&#x7EC8;&#x4E8E;&#x505C;&#x4E0B;&#x6765;&#x3002;&#x62A5;&#x4E86;&#x5730;&#x5740;&#xFF0C;&#x53F8;&#x673A;&#x548C;&#x6C14;&#x5730;&#x8BF4;&#x8FD9;&#x4E48;&#x5DE7;&#xFF0C;&#x6211;&#x4EEC;&#x4F4F;&#x540C;&#x4E00;&#x4E2A;&#x5C0F;&#x533A;&#xFF0C;&#x770B;&#x5C0F;&#x59D1;&#x5A18;&#x4F60;&#x8D70;&#x5F97;&#x8F9B;&#x82E6;&#xFF0C;&#x6B63;&#x597D;&#x6536;&#x5DE5;&#xFF0C;&#x514D;&#x8D39;&#x9001;&#x4F60;&#x56DE;&#x5BB6;&#x3002;&#x5979;&#x8FDE;&#x58F0;&#x9053;&#x7740;&#x8C22;&#x4E0A;&#x4E86;&#x8F66;&#xFF0C;&#x7535;&#x8BDD;&#x54CD;&#x8D77;&#x3002;&#x5BA2;&#x6237;&#x5728;&#x53E6;&#x4E00;&#x7AEF;&#x8BF4;&#xFF0C;&#x867D;&#x7136;&#x8BA2;&#x5355;&#x53D6;&#x6D88;&#xFF0C;&#x53EF;&#x662F;&#x5979;&#x7684;&#x656C;&#x4E1A;&#x6001;&#x5EA6;&#x8BA9;&#x4ED6;&#x89C9;&#x5F97;&#x611F;&#x52A8;&#x3002;&#x4E0D;&#x77E5;&#x5979;&#x662F;&#x5426;&#x5BF9;&#x65B0;&#x7684;&#x5C97;&#x4F4D;&#x611F;&#x5174;&#x8DA3;&#xFF1F;&#x5982;&#x679C;&#x613F;&#x610F;&#x8DF3;&#x5230;&#x81EA;&#x5DF1;&#x7684;&#x516C;&#x53F8;&#xFF0C;&#x85AA;&#x6C34;&#x6DA8;&#x4E00;&#x500D;&#xFF0C;&#x804C;&#x52A1;&#x4E5F;&#x63D0;&#x5347;&#x3002;&#x4ED6;&#x8BF4;&#xFF0C;&#x5176;&#x5B9E;&#x6211;&#x7B49;&#x4F60;&#x8F9E;&#x804C;&#x5DF2;&#x7ECF;&#x7B49;&#x4E86;&#x597D;&#x4E45;&#x3002;&#x5979;&#x60CA;&#x559C;&#x5730;&#x8BF4;&#x7740;&#x8C22;&#x8C22;&#xFF0C;&#x5FC3;&#x60C5;&#x8C41;&#x7136;&#x5F00;&#x6717;&#x8D77;&#x6765;&#x3002;&#x4E8E;&#x662F;&#x987A;&#x624B;&#x7ED9;&#x6697;&#x604B;&#x5BF9;&#x8C61;&#x56DE;&#x4E86;&#x4E2A;&#x77ED;&#x4FE1;&#xFF0C;&#x8BF4;&#x795D;&#x4F60;&#x5E78;&#x798F;&#x3002;&#x624B;&#x673A;&#x5C4F;&#x5E55;&#x95EA;&#x4EAE;&#xFF0C;&#x662F;&#x4ED6;&#x53D1;&#x6765;&#x7684;&#x56DE;&#x590D;&#xFF1A;&#x4ECA;&#x5929;&#x6211;&#x8DDF;&#x963F;&#x59E8;&#x901A;&#x4E86;&#x7535;&#x8BDD;&#xFF0C;&#x6211;&#x4EEC;&#x8FD9;&#x5468;&#x672B;&#x4E00;&#x8D77;&#x56DE;&#x5BB6;&#x770B;&#x59E5;&#x59E5;&#x5427;&#x3002;&#x5979;&#x60CA;&#x7591;&#x5730;&#x56DE;&#xFF1A;&#x4E3A;&#x4EC0;&#x4E48;&#x4F60;&#x8981;&#x966A;&#x6211;&#x56DE;&#x5BB6;&#x770B;&#x59E5;&#x59E5;&#xFF1F;&#x4ED6;&#x53D1;&#x6765;&#x4E00;&#x4E2A;&#x7B11;&#x8138;&#xFF1A;&#x5982;&#x679C;&#x4E0D;&#x662F;&#x60F3;&#x8BA9;&#x59E5;&#x59E5;&#x5F00;&#x5FC3;&#xFF0C;&#x6211;&#x4E0D;&#x4F1A;&#x628A;&#x6C42;&#x5A5A;&#x63D0;&#x524D;&#x8FD9;&#x4E48;&#x4E45;&#x7684;&#x3002;&#x5979;&#x4E0D;&#x6562;&#x7F6E;&#x4FE1;&#x5730;&#x671B;&#x7740;&#x90A3;&#x4E00;&#x884C;&#x8BDD;&#xFF0C;&#x5F20;&#x5927;&#x4E86;&#x5634;&#x5DF4;&#xFF0C;&#x624B;&#x8DB3;&#x65E0;&#x63AA;&#x3002;&#x4ED6;&#x50CF;&#x77E5;&#x9053;&#x5979;&#x7684;&#x5FC3;&#x4E8B;&#xFF0C;&#x53C8;&#x53D1;&#xFF1A;&#x6211;&#x90FD;&#x77E5;&#x9053;&#xFF0C;&#x6211;&#x559C;&#x6B22;&#x4F60;&#x3002;&#x5979;&#x773C;&#x5708;&#x4E00;&#x4E0B;&#x5B50;&#x53C8;&#x7EA2;&#x4E86;&#xFF0C;&#x5FC3;&#x91CC;&#x5374;&#x8F70;&#x8F70;&#x70B8;&#x5F00;&#x51E0;&#x6735;&#x70DF;&#x82B1;&#x3002;&#x4E00;&#x8DEF;&#x62BF;&#x7740;&#x5634;&#x7B11;&#x3002;&#x56DE;&#x5BB6;&#xFF0C;&#x62FF;&#x51FA;&#x94A5;&#x5319;&#xFF0C;&#x90BB;&#x5C45;&#x5BB6;&#x7684;&#x95E8;&#x5374;&#x5148;&#x5F00;&#x4E86;&#x3002;&#x90BB;&#x5C45;&#x7B11;&#x772F;&#x772F;&#x5730;&#x8BF4;&#xFF1A;&#x4ECA;&#x5929;&#x6211;&#x905B;&#x72D7;&#x56DE;&#x6765;&#xFF0C;&#x53D1;&#x73B0;&#x4F60;&#x5BB6;&#x7684;&#x7535;&#x95F8;&#x574F;&#x4E86;&#xFF0C;&#x5C31;&#x53EB;&#x6211;&#x8001;&#x516C;&#x5E2E;&#x4F60;&#x4FEE;&#x597D;&#x4E86;&#x3002;&#x5728;&#x5979;&#x7684;&#x8EAB;&#x540E;&#xFF0C;&#x90A3;&#x53EA;&#x5C0F;&#x72D7;&#x63A2;&#x51FA;&#x5934;&#x6765;&#xFF0C;&#x6C6A;&#x6C6A;&#x4E24;&#x58F0;&#xFF0C;&#x6B22;&#x5FEB;&#x5730;&#x6447;&#x7740;&#x5C3E;&#x5DF4;&#x3002;&#x5979;&#x63A8;&#x5F00;&#x5BB6;&#x95E8;&#x4E00;&#x5BA4;&#x878D;&#x878D;&#xFF0C;&#x6EE1;&#x773C;&#x6696;&#x610F;&#x3002;&#x6240;&#x6709;&#x7684;&#x6545;&#x4E8B;&#x90FD;&#x4F1A;&#x6709;&#x4E00;&#x4E2A;&#x7B54;&#x6848;&#x3002;&#x6240;&#x6709;&#x7684;&#x7B54;&#x6848;&#x5374;&#x672A;&#x5FC5;&#x90FD;&#x5982;&#x6700;&#x521D;&#x6240;&#x613F;&#x3002;&#x91CD;&#x8981;&#x7684;&#x662F;&#xFF0C;&#x5728;&#x6700;&#x7EC8;&#x7B54;&#x6848;&#x5230;&#x6765;&#x4E4B;&#x524D;&#xFF0C;&#x4F60;&#x662F;&#x5426;&#x8010;&#x5F97;&#x4F4F;&#x6027;&#x5B50;&#xFF0C;&#x5B88;&#x5F97;&#x7A33;&#x521D;&#x5FC3;&#xFF0C;&#x7B49;&#x5F97;&#x5230;&#x8F6C;&#x89D2;&#x7684;&#x5149;&#x660E;&#x3002;</p>

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>


    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/心灵鸡汤/" rel="tag"># 心灵鸡汤</a>
          
        </div>
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2016/11/29/前端HTML-CSS（一）/" rel="prev" title="前端HTML+CSS（一）">
                前端HTML+CSS（一） <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          
  <div class="comments" id="comments">
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      

      <section class="site-overview sidebar-panel sidebar-panel-active">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/images/me.jpg"
               alt="JokerLiang" />
          <p class="site-author-name" itemprop="name">JokerLiang</p>
          <p class="site-description motion-element" itemprop="description">永远年轻，永远热泪盈眶。</p>
        </div>
        <nav class="site-state motion-element">
          <div class="site-state-item site-state-posts">
            <a href="/archives">
              <span class="site-state-item-count">61</span>
              <span class="site-state-item-name">日志</span>
            </a>
          </div>

          
            <div class="site-state-item site-state-categories">
              <a href="/categories">
                <span class="site-state-item-count">15</span>
                <span class="site-state-item-name">分类</span>
              </a>
            </div>
          

          
            <div class="site-state-item site-state-tags">
              <a href="/tags">
                <span class="site-state-item-count">17</span>
                <span class="site-state-item-name">标签</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="https://github.com/LoverJoker" target="_blank" title="GitHub">
                  
                    <i class="fa fa-fw fa-github"></i>
                  
                  GitHub
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="https://www.zhihu.com/people/lover-easy-7/activities" target="_blank" title="Twitter">
                  
                    <i class="fa fa-fw fa-twitter"></i>
                  
                  Twitter
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="http://weibo.com/2292572142/profile?rightmod=1&wvr=6&mod=personinfo" target="_blank" title="微博">
                  
                    <i class="fa fa-fw fa-globe"></i>
                  
                  微博
                </a>
              </span>
            
          
        </div>

        
        

        
        
          <div class="links-of-blogroll motion-element links-of-blogroll-inline">
            <div class="links-of-blogroll-title">
              <i class="fa  fa-fw fa-globe"></i>
              Friends
            </div>
            <ul class="links-of-blogroll-list">
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.knight.ac.cn/" title="Knight" target="_blank">Knight</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://lzllzl.cn/" title="Zayvion" target="_blank">Zayvion</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://chen97.com/" title="Chens" target="_blank">Chens</a>
                </li>
              
            </ul>
          </div>
        

        


      </section>

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2018</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">JokerLiang</span>
</div>


<div class="powered-by">
  由 <a class="theme-link" href="https://hexo.io">Hexo</a> 强力驱动
</div>

<div class="theme-info">
  主题 -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Mist
  </a>
</div>


        

        
      </div>
    </footer>

    <div class="back-to-top">
      <i class="fa fa-arrow-up"></i>
    </div>
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  



  
  <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.0"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.0"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.0"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.0"></script>



  



  




	




  
  
  <script type="text/javascript">
    // Popup Window;
    var isfetched = false;
    // Search DB path;
    var search_path = "search.xml";
    if (search_path.length == 0) {
      search_path = "search.xml";
    }
    var path = "/" + search_path;
    // monitor main search box;

    function proceedsearch() {
      $("body").append('<div class="popoverlay">').css('overflow', 'hidden');
      $('.popup').toggle();
    }
    // search function;
    var searchFunc = function(path, search_id, content_id) {
      'use strict';
      $.ajax({
        url: path,
        dataType: "xml",
        async: true,
        success: function( xmlResponse ) {
          // get the contents from search data
          isfetched = true;
          $('.popup').detach().appendTo('.header-inner');
          var datas = $( "entry", xmlResponse ).map(function() {
            return {
              title: $( "title", this ).text(),
              content: $("content",this).text(),
              url: $( "url" , this).text()
            };
          }).get();
          var $input = document.getElementById(search_id);
          var $resultContent = document.getElementById(content_id);
          $input.addEventListener('input', function(){
            var matchcounts = 0;
            var str='<ul class=\"search-result-list\">';
            var keywords = this.value.trim().toLowerCase().split(/[\s\-]+/);
            $resultContent.innerHTML = "";
            if (this.value.trim().length > 1) {
              // perform local searching
              datas.forEach(function(data) {
                var isMatch = false;
                var content_index = [];
                var data_title = data.title.trim().toLowerCase();
                var data_content = data.content.trim().replace(/<[^>]+>/g,"").toLowerCase();
                var data_url = decodeURIComponent(data.url);
                var index_title = -1;
                var index_content = -1;
                var first_occur = -1;
                // only match artiles with not empty titles and contents
                if(data_title != '') {
                  keywords.forEach(function(keyword, i) {
                    index_title = data_title.indexOf(keyword);
                    index_content = data_content.indexOf(keyword);
                    if( index_title >= 0 || index_content >= 0 ){
                      isMatch = true;
                      if (i == 0) {
                        first_occur = index_content;
                      }
                    }

                  });
                }
                // show search results
                if (isMatch) {
                  matchcounts += 1;
                  str += "<li><a href='"+ data_url +"' class='search-result-title'>"+ data_title +"</a>";
                  var content = data.content.trim().replace(/<[^>]+>/g,"");
                  if (first_occur >= 0) {
                    // cut out 100 characters
                    var start = first_occur - 20;
                    var end = first_occur + 80;
                    if(start < 0){
                      start = 0;
                    }
                    if(start == 0){
                      end = 50;
                    }
                    if(end > content.length){
                      end = content.length;
                    }
                    var match_content = content.substring(start, end);
                    // highlight all keywords
                    keywords.forEach(function(keyword){
                      var regS = new RegExp(keyword, "gi");
                      match_content = match_content.replace(regS, "<b class=\"search-keyword\">"+keyword+"</b>");
                    });

                    str += "<p class=\"search-result\">" + match_content +"...</p>"
                  }
                  str += "</li>";
                }
              })};
            str += "</ul>";
            if (matchcounts == 0) { str = '<div id="no-result"><i class="fa fa-frown-o fa-5x" /></div>' }
            if (keywords == "") { str = '<div id="no-result"><i class="fa fa-search fa-5x" /></div>' }
            $resultContent.innerHTML = str;
          });
          proceedsearch();
        }
      });}

    // handle and trigger popup window;
    $('.popup-trigger').click(function(e) {
      e.stopPropagation();
      if (isfetched == false) {
        searchFunc(path, 'local-search-input', 'local-search-result');
      } else {
        proceedsearch();
      };
    });

    $('.popup-btn-close').click(function(e){
      $('.popup').hide();
      $(".popoverlay").remove();
      $('body').css('overflow', '');
    });
    $('.popup').click(function(e){
      e.stopPropagation();
    });
  </script>


  

  

  

  


</body>
</html>
